package com.star.gateway.contract.param;

import com.star.common.core.contract.Query;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

/**
 * Demo仓库，主要是给人去学习用(Demo)领域参数类
 *
 * 主要做查询功能，不做增删改的操作
 *
 * @author zhouhengzhe
 * @since 2023-12-01 17:25:30
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@EqualsAndHashCode(callSuper = true)
public class DemoParam extends Query {

    @Schema(description = "ID")
    private String id;

    @Schema(description = "应用ID")
    private String tenantId;

    @Schema(description = "年龄")
    private Integer age;

    @Schema(description = "名字")
    private String name;
}
